package 内部类.innerClassExample;

public class OuterClass {

	void f() {
		System.out.println(" Outerclass.f");
	}


	class InnerClass {
		public OuterClass outer() {
			// 内部类要用到 *.this
			return OuterClass.this;
		}
	}

	public InnerClass inner() {
		return new InnerClass();
	}


}

